home *** CD-ROM | disk | FTP | other *** search
- Path: fido.asd.sgi.com!austern
- From: Rich Paul <linguist@cyberspy.com>
- Newsgroups: comp.std.c++
- Subject: Re: char_traits<T> return values
- Date: 15 Apr 1996 09:37:35 PDT
- Organization: Technical Resource Connection
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <317253FB.1DB7@cyberspy.com>
- References: <316DB8A8.2556@cyberspy.com> <316F5716.53ABC674@cantrip.org>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: Mon, 15 Apr 1996 09:49:47 -0400
- X-Mailer: Mozilla 2.01Gold (WinNT; I)
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMXJ7UUy4NqrwXLNJAQFq5AH9GQys0rK9abOJk7qhWpZ2acZvbW1SXBBG
- WurwX4xOEMFFOmiTGOzWB/dwredGFHQyjSQEXXgfp4z6Y6eUoXXm4g==
- =jWoS
- Originator: austern@isolde.mti.sgi.com
-
- Nathan Myers <ncm@cantrip.org> wrote:
- > It only matters when you convert back via c_str(); then, of course,
- > to C the string will look shorter than it is. Tough.
-
- Aha ... well, that solves the length cacheing problem ... given
- that operator[] could insert an eos() I've been avoiding keeping
- track of string length ... well that's a wrinkle.
-
- Thanks alot fo the input!
- ---
- [ comp.std.c++ is moderated. To submit articles: Try just posting with your
- newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
- comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
- Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
- Comments? mailto:std-c++-request@ncar.ucar.edu
- ]
-